<%@ page import="com.lianzheng.UserVO" %>
<%@ page import="com.lianzheng.AppConst" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%--
  Created by IntelliJ IDEA.
  User: ChadZhao
  Date: 11-1-7
  Time: 下午12:11
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style>
        #nav li a { display:block;}
        #nav li ul { border:1px solid #ccc; display:none; position:absolute;}
        #nav li ul li { float:none;background:#FE0201; margin:0;padding:0px;border:1px solid #FE0201;}
        #nav li ul li a { background:none;}
        #nav li ul li a:hover { background:#222222; color:#fff;}
        #nav li.sfhover ul { display:block;top:50px;position: absolute}
    </style>
<title>top</title>
<link href="<c:url value='/styles/sub.css'/>" rel="stylesheet" type="text/css">
</head>
<body>
<table width="1000"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FE0201" style="height:57px;">
  <tr>
    <td width="10" align="left"><img src="<c:url value='/images/sub1_03.jpg'/>" width="10" height="57"></td>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="280" rowspan="3"><img src="<c:url value='/images/sub1_05.jpg'/>" width="280" height="57"></td>
        <td style="height:6px;" align="right">
            <a href="<c:url value='/help.doc'/>" target="_blank" style="color:#FFFFFF;">操作手册</a>
            <span style="color:#ffffff;"> |</span>
            <a href="<c:url value='/liwo.exe'/>" target="_blank" style="color:#FFFFFF;">视频转换软件</a>
            <span style="color:#ffffff;"> |</span>
            <a href="<c:url value='/liwohelp.doc'/>" target="_blank" style="color:#FFFFFF;">转换软件手册</a>
        </td>
      </tr>
      <tr>
        <td align="right" id="menu" style="padding:0px;"><ul id="nav" style="padding: 0px;margin: 0px;">
            <li><a href="<c:url value='/index.do'/>">首页</a></li>
            <li><a href="<c:url value='/viewArticleList.do?partType=1'/>">信息宣传</a></li>
            <li><a href="<c:url value='/viewArticleList.do?partType=8'/>">廉政讲堂</a></li>
            <li><a href="<c:url value='/viewArticleList.do?partType=19'/>">廉政建设</a></li>
            <li><a href="<c:url value='/viewArticleList.do?partType=26'/>">廉政文化</a></li>
            <li><a href="<c:url value='/viewVideoAndAudioList.do?partType=34'/>">音视频课堂</a></li>
            <li><a href="<c:url value='/viewArticleList.do?partType=40'/>">互动交流</a></li>
            <li>
                <a href="#">党务公开</a>
                <ul>
                    <li><a href="http://141.20.128.89:99" target="_blank">浦口局</a></li>
                    <li><a href="#">稽查局</a></li>
                    <li><a href="#">纳税服务局</a></li>
                    <li><a href="#">契税所</a></li>
                    <li><a href="#">重点税源局</a></li>
                    <li><a href="#">高新局</a></li>
                    <li><a href="#">玄武局</a></li>
                    <li><a href="#">白下局</a></li>
                    <li><a href="#">秦淮局</a></li>
                    <li><a href="#">建邺局</a></li>
                    <li><a href="#">鼓楼局</a></li>
                    <li><a href="#">下关局</a></li>
                    <li><a href="#">雨花台局</a></li>
                    <li><a href="#">栖霞局</a></li>
                    <li><a href="#">化工园局</a></li>
                    <li><a href="#">江宁局</a></li>
                    <li><a href="#">六合局</a></li>
                    <li><a href="#">溧水局</a></li>
                    <li><a href="#">高淳局</a></li>
                </ul>
            </li>
        </ul></td>
      </tr>
      <tr>
    <td align="right" valign="bottom">
    <%
        UserVO user = (UserVO) session.getAttribute(AppConst.USER_KEY);
        if (user != null) {
    %>
    	<img align="absmiddle" src="<c:url value='/images/people.gif'/>" width="12" height="13"/>&nbsp;
        <a href="<c:url value='/system/toChangePassword.do'/>" style="font-size:9pt;color:#ffffff;text-decoration: none;">改密码</a>
        <span style="color:#ffffff;"> |</span> <a href="#" style="font-size:9pt;color:#ffffff;text-decoration: none;" onclick="doLogout()">注销</a>
    <%}%>
      	</td>
      </tr>
    </table></td>
    <td width="10" align="right"><img src="<c:url value='/images/sub1_07.jpg'/>" width="10" height="57"></td>
  </tr>
</table>
</body>
<script>
    function doLogout() {
        if(!confirm("您确定要注销吗？")){
            return;
        }
        location.href = "<c:url value='/doLogOut.do'/>";
    }
</script>
<script type=text/javascript>
    <!--//--><![CDATA[//><!--
    function menuFix() {
        var sfEls = document.getElementById("menu").getElementsByTagName("li");
        for (var i=0; i<sfEls.length; i++) {
            sfEls[i].onmouseover=function() {
                this.className+=(this.className.length>0? " ": "") + "sfhover";
            }
            sfEls[i].onMouseDown=function() {
                this.className+=(this.className.length>0? " ": "") + "sfhover";
            }
            sfEls[i].onMouseUp=function() {
                this.className+=(this.className.length>0? " ": "") + "sfhover";
            }
            sfEls[i].onmouseout=function() {
                this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
            }
        }
    }
    window.onload=menuFix; //--><!]]>
</script>
</html>